<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/amazeui.min.css"/>
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/hy.admin.css"/>
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/timepicki.css"/>
		<style>
			#tooltip{
	position:absolute;
	border:1px solid #ccc;
	background:#333;
	padding:2px;
	display:none;
	color:#fff;
}
		</style>
	</head>
	<body>
		<div class="am-g">
			 {include file='../Common/hy_header.html'}
			 	
      <div class="am-u-md-6 am-cf">
        <div class="am-fl am-cf">
          <div class="am-btn-toolbar am-fl">
            <div class="am-btn-group am-btn-group-xs">
            	<!--
              <button  type="button" class="am-btn am-btn-default hy-js-delall"><span class="am-icon-trash-o"></span> 删除</button>
            	-->
			</div>

           
          </div>
        </div>
      </div>
	  <form action="index.php?g=admin&m=grade&a=proposal" method="post">
	  	  
	      <div class="am-u-md-2 am-cf">
	        <div class="am-fr">
	          <div class="am-input-group am-input-group-sm">
					<select name="year"  style="width:150px;height:35px;">   
						{foreach from=$select.year item=y}
					    	<option value="{$y}" {if $y==$year}selected = "selected"{/if}>{$y}年</option>   
					    {/foreach}   
					</select>
						
	          </div>
	        </div>
	      </div>
	      <div class="am-u-md-2 am-cf">
	        <div class="am-fr">
	          <div class="am-input-group am-input-group-sm">
					<select name="month" style="width:150px;height:35px;">   
						{foreach from=$select.month item=m}
					    	<option value="{$m}" {if $m==$month}selected = "selected"{/if}>{$m}月</option>   
					    {/foreach}   
					</select>
						
	          </div>
	        </div>
	      </div>
	      
	      <div class="am-u-md-2 am-cf">
	        <div class="am-fr">
	          <div class="am-input-group am-input-group-sm">
					<select name="store_id" style="width:150px;height:35px;">   
						{foreach from=$stores item=store}
					    	<option value="{$store.id}" {if $store.id==$store_id}selected = "selected"{/if}>{$store.store_name}</option>   
					    {/foreach}   
					</select>
						
	          </div>
	        </div>
	      </div>
	      <div class="am-u-md-6 am-cf">
	        <div class="am-fr">
	          <div class="am-input-group am-input-group-sm">
	   			  <span class="am-input-group-btn">
	                 <button class="am-btn" type="submit">搜索</button>
	              </span>
	      	  </div>
	        </div>
	      </div>
	      
	  </form>
      <div class="am-g">
      <div class="am-u-sm-12">
        <div class="am-form">
          <table class="am-table am-table-striped am-table-hover hy-table-main">
            <thead>
              <tr>
                
                <th class="table-type">员工名</th>
				 <th class="table-type">店面名</th>
				 <th class="table-set">时间</th>
				 <th class="table-type" style="max-width:100px">建议内容</th>
                
              </tr>
          </thead>
          <tbody>
          {foreach from=$info item=cont}
          	<tr>
          		
				<td>{$cont.proposer_name}</td>
				<td>{$cont.store_name}</td>
	            <td>{$cont.created|date_format:"Y-m-d H:i:s"}</td>
	            <td>{$cont.content}</td>
	            <!-- <td>
	                <div class="am-btn-toolbar">
	                  <div class="am-btn-group am-btn-group-xs">
	                    <button data-id="adcontent_{$ad.id}" data-title="{$ad.name}" data-href="index.php?g=admin&m=sign&a=content&mid={$ad.id}" class="am-btn am-btn-default am-btn-xs hy-js-href"><span class="am-icon-copy"></span> 详情</button>
	                    <button onclick="del_ini('{$ad.id}')" class="am-btn am-btn-default am-btn-xs am-text-danger"><span class="am-icon-trash-o"></span> 删除</button>
	                  </div>
	                </div>
	            </td> -->
          	</tr>
          	{foreachelse}
          	<tr>
          	<td>
				<label class="am-u-sm-5 am-form-label">无记录</label>
			</td>
			<td></td><td></td><td></td><td></td>
			</tr>
          	{/foreach}
          </tbody>
        </table>
          <div class="am-cf">

			  <div class="am-fr">
				{$user_list_page}
			  </div>
			</div>
          <!-- <hr /> -->
      
        </div>
      </div>

    </div>
    </div>
   {include file='../Common/hy_footer.html'}
   <script src="{$_C.hy_path}js/jquery.min.js"></script>
   <script src="{$_C.hy_path}js/timepicki.js"></script>

   <script>
   	
	</script>
</body>
</html>
